<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\bean;
class UserBean extends BaseBean
{

	static $id = 'id'; //
	static $storeId = 'store_id'; //最后访问店id
	static $nickname = 'nickname'; //微信昵称
	static $gender = 'gender'; //0保密 1男 2女
	static $publicOpenId = 'public_open_id'; //微信公众号openid
	static $appletOpenId = 'applet_open_id'; //小程序openid
	static $unionId = 'union_id'; //unionid
	static $avatarUrl = 'avatar_url'; //微信头像地址
	static $mobilePhone = 'mobile_phone'; //微信获取手机号码
	static $status = 'status'; //状态（1、正常，2、禁用）
	static $city = 'city'; //城市
	static $province = 'province'; //省份
	static $country = 'country'; //国家
	static $parentId = 'parent_id'; //上级用户id
	static $createdAt = 'created_at'; //创建时间
	static $updatedAt = 'updated_at'; //更新时间
	static $blance = 'blance'; //余额
	static $orderNum = 'order_num'; //订单数量
	static $amont = 'amont'; //交易金额
	static $integral = 'integral'; //积分

	static $tableName = 'user';
	static $alias = 'UserBean';

		
	public function getId(){
		return $this->getParameter(self::$id);
	}

	public function setId($id){
		$this->setParameter('id',$id);
	}

	public function getStoreId(){
		return $this->getParameter(self::$storeId);
	}

	public function setStoreId($storeId){
		$this->setParameter('store_id',$storeId);
	}

	public function getNickname(){
		return $this->getParameter(self::$nickname);
	}

	public function setNickname($nickname){
		$this->setParameter('nickname',$nickname);
	}

	public function getGender(){
		return $this->getParameter(self::$gender);
	}

	public function setGender($gender){
		$this->setParameter('gender',$gender);
	}

	public function getPublicOpenId(){
		return $this->getParameter(self::$publicOpenId);
	}

	public function setPublicOpenId($publicOpenId){
		$this->setParameter('public_open_id',$publicOpenId);
	}

	public function getAppletOpenId(){
		return $this->getParameter(self::$appletOpenId);
	}

	public function setAppletOpenId($appletOpenId){
		$this->setParameter('applet_open_id',$appletOpenId);
	}

	public function getUnionId(){
		return $this->getParameter(self::$unionId);
	}

	public function setUnionId($unionId){
		$this->setParameter('union_id',$unionId);
	}

	public function getAvatarUrl(){
		return $this->getParameter(self::$avatarUrl);
	}

	public function setAvatarUrl($avatarUrl){
		$this->setParameter('avatar_url',$avatarUrl);
	}

	public function getMobilePhone(){
		return $this->getParameter(self::$mobilePhone);
	}

	public function setMobilePhone($mobilePhone){
		$this->setParameter('mobile_phone',$mobilePhone);
	}

	public function getStatus(){
		return $this->getParameter(self::$status);
	}

	public function setStatus($status){
		$this->setParameter('status',$status);
	}

	public function getCity(){
		return $this->getParameter(self::$city);
	}

	public function setCity($city){
		$this->setParameter('city',$city);
	}

	public function getProvince(){
		return $this->getParameter(self::$province);
	}

	public function setProvince($province){
		$this->setParameter('province',$province);
	}

	public function getCountry(){
		return $this->getParameter(self::$country);
	}

	public function setCountry($country){
		$this->setParameter('country',$country);
	}

	public function getParentId(){
		return $this->getParameter(self::$parentId);
	}

	public function setParentId($parentId){
		$this->setParameter('parent_id',$parentId);
	}

	public function getCreatedAt(){
		return $this->getParameter(self::$createdAt);
	}

	public function setCreatedAt($createdAt){
		$this->setParameter('created_at',$createdAt);
	}

	public function getUpdatedAt(){
		return $this->getParameter(self::$updatedAt);
	}

	public function setUpdatedAt($updatedAt){
		$this->setParameter('updated_at',$updatedAt);
	}

	public function getBlance(){
		return $this->getParameter(self::$blance);
	}

	public function setBlance($blance){
		$this->setParameter('blance',$blance);
	}

	public function getOrderNum(){
		return $this->getParameter(self::$orderNum);
	}

	public function setOrderNum($orderNum){
		$this->setParameter('order_num',$orderNum);
	}

	public function getAmont(){
		return $this->getParameter(self::$amont);
	}

	public function setAmont($amont){
		$this->setParameter('amont',$amont);
	}

	public function getIntegral(){
		return $this->getParameter(self::$integral);
	}

	public function setIntegral($integral){
		$this->setParameter('integral',$integral);
	}


}
